package com.demo.studentmanager.dto;


import com.demo.studentmanager.entity.Attendance;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author lzx
 */
@Data
@Accessors(chain = true)
public class AttendanceAddDto extends BaseDto<Attendance> {

    @ApiModelProperty(value = "id", required = true)
    @NotNull
    private String id;

    @ApiModelProperty(value = "学生编号", required = true)
    private String sno;

    @ApiModelProperty(value = "课程编号", required = true)
    private String cno;

    @ApiModelProperty(value = "签到状态")
    private String status;

}
